package com.edu;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
import org.springframework.context.annotation.ImportResource;

/**
 * @作者 five-five
 * @创建时间 2021/1/19
 */
@SpringBootApplication
@MapperScan("com.edu.mapper")
@ImportResource(value = {"classpath:spring/*.xml"})
@EnableEurekaServer
public class MainSpringCloudApplication {

    public static void main(String[] args) {
        SpringApplication.run(MainSpringCloudApplication.class,args);
    }
}
